package com.ruoyi.system.domain.vo;

import com.ruoyi.common.valid.ValidInsertGroup;
import com.ruoyi.common.valid.ValidUpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description TODO
 * @ClassName BsJingquJingdianVo
 * @Author kenn
 * @Version 1.0.0
 * @Date 2023年11月22日 14:08:00
 */
@Data
@ApiModel(value = "景区景点实体类", description = "景区景点")
public class BsJingquJingdianVo {

    @ApiModelProperty(value = "关联的景区ID")
    @NotNull(message = "景区id不能为空", groups = {ValidInsertGroup.class, ValidUpdateGroup.class})
    private Long jingquId;

    @ApiModelProperty(value = "景点名称")
    @NotEmpty(message = "景点名称不能为空", groups = {ValidInsertGroup.class, ValidUpdateGroup.class})
    private List<String> jingdianNames;

    @ApiModelProperty(value = "景点附件")
    @NotEmpty(message = "附件不能为空", groups = {ValidInsertGroup.class, ValidUpdateGroup.class})
    private List<String> jingdianFiles;

}
